package onlineclass.entity;


import java.util.Date;

public class OMajor {

  private long id;
  private String name;
  private int inuse;
  private Date createtime;
  private Date modifytime;
  private String description;

  public OMajor() {
  }

  public OMajor(String name, int inuse, String description) {
    this.name = name;
    this.inuse = inuse;
    this.description = description;
  }

  public OMajor(long id, String name, int inuse, String description) {
    this.id = id;
    this.name = name;
    this.inuse = inuse;
    this.description = description;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getInuse() {
    return inuse;
  }

  public void setInuse(int inuse) {
    this.inuse = inuse;
  }

  public Date getCreatetime() {
    return createtime;
  }

  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }

  public Date getModifytime() {
    return modifytime;
  }

  public void setModifytime(Date modifytime) {
    this.modifytime = modifytime;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  @Override
  public String toString() {
    return "OMajor{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", inuse=" + inuse +
            ", createtime=" + createtime +
            ", modifytime=" + modifytime +
            ", description='" + description + '\'' +
            '}';
  }
}
